﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using GKS.Model.ViewModels;

namespace GKS.XAML.UserControls
{
    /// <summary>
    /// Interaction logic for ProjectMgmtUC.xaml
    /// </summary>
    public partial class ProjectMgmtUC : UserControl
    {
        public ProjectMgmtUC()
        {
            InitializeComponent();
            //DataContext = new GKSProjectManagementModel();
        }

        private void buttonAdd_Click(object sender, RoutedEventArgs e)
        {
            AddEditProjectWindow projectWindow = new AddEditProjectWindow();
            projectWindow.ShowDialog();
        }

        private void buttonCancel_Click(object sender, RoutedEventArgs e)
        {
            //NavigationService navService = NavigationService.GetNavigationService(this);
            //navService.Navigate(new System.Uri(@"AddEditProject.xaml", UriKind.RelativeOrAbsolute));
        }

    }
}
